import React from 'react';
import * as Tools from '../utils/Tools';

const cnText = Tools.randomList(['超乖乖', '天天加班', '爱学习', '好看', '帅帅','有品位','爱时尚'], 1)[0];
export default function Donate(props) {
  let text = <h4 className='lang'>赏 <a href='https://blog.csdn.net/qq_21137441' rel='noopener noreferrer' target='_blank'>@MYI</a> 一杯咖啡叭</h4>;
  if (props.isZH) {
    text = <h4 className='lang cn'>给<a href='https://weibo.com/flovey520' rel='noopener noreferrer' target='_blank'>{cnText}的作者</a>打赏个红包叭</h4>;
  }
  return (
    <div className='donate'>
      <div className='hd'>{text}</div>
      <div className='bd'>
        <img src='images/weixin.jpg' className='wechatpay' title='微信付款' />
        <img src='images/zhifubao.jpg' className='zhifubao' title='支付宝转账' />
      </div>
    </div>
  )
}
